home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 1 (Walnut Creek)
/
Aminet - June 1993 [Walnut Creek].iso
/
aminet
/
text
/
misc
/
j2ag1_2.lha
/
J2AG.doc
< prev
Wrap
Text File
|
1993-01-09
|
2KB
|
75 lines
NAME
J2AG -- convert a Jargon file to the AmigaGuide ® format
SYNOPSIS
J2AG infile outfile [VERBOSE]
VERSION
1.2, 9-Jan-93 -- nu får det vara nog
FUNCTION
This program converts a Jargon file to the AmigaGuide ® format
to make it easier to follow references to other entries while
reading.
Those who don't know what the Jargon file is are encouraged to
find out. :)
INPUTS
infile - a Jargon file, snatched from prep.ai.mit.edu or so...
OUTPUTS
outfile - an AmigaGuide ® file, or something pretty much like one
If the VERBOSE switch is used, J2AG barfs on stdout while converting
the file, reporting what it's currently doing. After it's done, it
will display the number of nodes and valid xrefs that were found.
REQUIREMENTS
* AmigaDOS Release 2 or better (utilizes V39 if present)
* A copy of the Jargon file, or atleast something that looks like
one.
* ~1.5M of contigous mem
NOTE
The most recent version of the Jargon file is always available for
anonymous FTP from prep.ai.mit.edu in the directory /pub/gnu as
jargon<version>.tar.Z (Current version as of 5th Jan 93 is 2.9.11)
When run under V39, J2AG tries to set the buffer for the output
filehandle to 64k, using SetVBuf() to decrease disk thrashing.
The program is unintentionally multitasking reentrant and pure,
since I accidentally linked with the wrong startup module. Oh,
well...
A ctrl-c usually makes J2AG abort the conversion and exit.
BUGS
Some older versions of AmigaGuide ® do not like some chars (single
quotes, etc) in node titles, which can cause some references to
fail. It is possible to escape them with a backslash, but in its
infinite wisdom, AmigaGuide ® displays the escape character too.
Minimal checking is made to ensure that the input file follows the
Jargon file format.
HISTORY
1.0 - first release
1.1 - minor bug with quotes in nodenames fixed
1.2 - fixed small bug with topic xrefs split over two lines
- improved formatting of xrefs
- reduced memory usage and added own pool allocation routine
- lots of other small improvements
AUTHOR
Svante Eriksson (Flintlund)
Internet: d2ser@dtek.chalmers.se
FidoNet: 2:203/123.42
Feedback/flames to one of the above e-mail addresses.